<?php

namespace App\Models\Invoice;

use App\Models\Payment\PaymentScene;
use App\Traits\UuidTrait;
use Illuminate\Database\Eloquent\Model;

class GoodDetail extends Model
{
    use UuidTrait;

    const TABLE = 'invoice_good_details';
    protected $table = self::TABLE;

    const CATEGORY_TMP_PAYMENT = 'TMP_PAYMENT';
    const CATEGORY_MONTHLY_PAYMENT = 'MONTHLY_PAYMENT';

    const CATEGORY_NAMES = [
        self::CATEGORY_MONTHLY_PAYMENT => PaymentScene::SCENE_MONTHLY_PAYMENT,
        self::CATEGORY_TMP_PAYMENT => PaymentScene::SCENE_TMP_PAYMENT
    ];

    public $timestamps = false;
}
